package com.exam.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.exam.entity.Teacher;

import java.util.List;
public interface TeacherService {
    int updatePwd(Teacher teacher);
    IPage<Teacher> findAll(Page<Teacher> page);
    public List<Teacher> findAll();
    public Teacher findById(Integer teacherId);
    public int deleteById(Integer teacherId);
    public int update(Teacher teacher);
    public int add(Teacher teacher);
}
